
#ifndef Lines_ScaleEffect_h
#define Lines_ScaleEffect_h

#include "SpriteEffect.h"
#include "Vector3.h"

class ScaleEffect : public SpriteEffect
{
private:
    Vector2 m_vInitScale;
    Vector2 m_vEndScale;
    bool m_bHasInit;
    
protected:
    void updateEffect(float _fPerc);
    void enableEffect(bool _bValue);
    
public:
    ScaleEffect(RenderableEntity* _entity, float _fDuration, bool _bEnabled, bool _bLoop, Vector2 _vInitScale, Vector2 _vEndScale);
    ScaleEffect(RenderableEntity* _entity, float _fDuration, bool _bEnabled, bool _bLoop, Vector2 _vEndScale);
    
    void setParams(Vector2 _vInitScale, Vector2 _vEndScale);
    void setParams(Vector2 _vEndScale);
    
};

#endif
